from tortoise import BaseDBAsyncClient


async def upgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `xm_category` ADD `is_blank` BOOL NOT NULL  COMMENT '新窗口' DEFAULT 0;"""


async def downgrade(db: BaseDBAsyncClient) -> str:
    return """
        ALTER TABLE `xm_category` DROP COLUMN `is_blank`;"""
